#!/bin/bash

echo "=== 检查 wxWidgets 目录结构 ==="

WX_DIR="D:/vc/wxWidgets-3.2.7"

if [ -d "$WX_DIR" ]; then
    echo "✅ wxWidgets 目录存在: $WX_DIR"
    
    echo ""
    echo "include 目录内容:"
    ls "$WX_DIR/include" 2>/dev/null | head -10
    
    echo ""
    echo "lib 目录内容 (wx 相关):"
    ls "$WX_DIR/lib" 2>/dev/null | grep -i wx | head -10
    
    echo ""
    echo "检查是否有 msys 子目录:"
    if [ -d "$WX_DIR/include/msys" ]; then
        echo "✅ include/msys 目录存在"
        ls "$WX_DIR/include/msys" 2>/dev/null | head -5
    else
        echo "❌ include/msys 目录不存在"
        echo "实际的 include 子目录:"
        find "$WX_DIR/include" -maxdepth 1 -type d 2>/dev/null | head -10
    fi
else
    echo "❌ wxWidgets 目录不存在: $WX_DIR"
fi
